<script>
import {defineComponent, getCurrentInstance, h} from 'vue';
import { JIcon } from '@jzl/comps';

export default defineComponent({
  name: 'TestComp',
  components: { JIcon },
  setup() {
    const { proxy } = getCurrentInstance();

    proxy.$jemit('my-hello', 'good!');
  },
  render() {
    return h(JIcon, { icon: 'ep:arrow-left' })
    /*return h('JIcon', { class: 'test-component' }, [
      h('h1', { style: { color: 'blue' } }, 'Hello from Test Component!'),
    ]);*/
  },
});
</script>
